package com.example.poverty.entity;

import java.io.Serializable;

/**
 * 村镇实体类
 */
public class Towns implements Serializable {
    //    主键
    private Integer id;
    //    村镇名称
    private String tName;
    //    总户
    private Integer totalHouse;
    //    总人数
    private Integer totalNum;
    //    地址
    private String address;
    //    村书记
    private String villageSecretary;
    //    驻村干部
    private String cadreName;

    public String getCadreName() {
        return cadreName;
    }

    public void setCadreName(String cadreName) {
        this.cadreName = cadreName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public Integer getTotalHouse() {
        return totalHouse;
    }

    public void setTotalHouse(Integer totalHouse) {
        this.totalHouse = totalHouse;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getVillageSecretary() {
        return villageSecretary;
    }

    public void setVillageSecretary(String villageSecretary) {
        this.villageSecretary = villageSecretary;
    }

    @Override
    public String toString() {
        return "Towns{" +
                "id=" + id +
                ", tName='" + tName + '\'' +
                ", totalHouse=" + totalHouse +
                ", totalNum=" + totalNum +
                ", address='" + address + '\'' +
                ", villageSecretary='" + villageSecretary + '\'' +
                ", cadreName='" + cadreName + '\'' +
                '}';
    }
}
